.mt-button.mt-button--square.sw-data-grid-settings__trigger {
    width: 32px;

    .mt-icon {
        padding-top: 2px;
        padding-right: 1px;
        padding-bottom: 2px;
        padding-left: 1px;
    }
}

.sw-data-grid-settings {
    .sw-context-menu__content {
        padding: 0;
    }

    .sw-data-grid__settings-container {
        padding: 10px 18px;
        display: flex;
        flex-flow: column nowrap;
        row-gap: 10px;
    }

    .sw_context_menu_divider {
        margin: 5px 0 8px;
    }

    .sw-data-grid__settings-column-list {
        // 10 columns with 36px height
        max-height: 360px;
        overflow: auto;
    }

    .sw-data-grid__settings-column-item {
        display: flex;
        align-items: center;

        &:not(:last-child) {
            margin-bottom: 10px;
        }

        .sw-data-grid__settings-column-item-controls {
            margin-left: auto;
            flex-shrink: 0;

            .icon--regular-chevron-down-xxs,
            .icon--regular-chevron-up-xxs {
                padding: 4px;
            }
        }
    }

    .sw-field.sw-field--switch {
        margin-top: 0;
    }

    .mt-field--checkbox,
    .mt-field--switch {
        margin-bottom: 5px;

        &:last-child,
        label {
            margin-bottom: 0;
        }
    }

    .columns-list-move {
        transition: transform 0.2s ease-in-out;
    }

    .mt-switch {
        margin-bottom: 0;
        min-height: 0;
    }
}
